package com.kdd.campus.sh.service;

import com.kdd.campus.sh.po.ShAddress;

import java.util.List;

/**
 * @Auther: fcp
 * @Date: 2020/4/27 21:33
 * @Description:
 */
public interface AddressService {
    List<ShAddress> findByUserId(Long userId);

    void update(ShAddress address);

    void add(ShAddress address);

    void delete(Long userId, Integer id);

    ShAddress findDefaultAddress(Long userId);

    ShAddress findAddressById(Long userId, Integer addressId);
}
